import { defHttp } from '/@/utils/http/axios';

enum Api {
  loginfo = '/sys/loginfo',
  visitInfo = '/sys/visitInfo',
  rDtaBoardModule='/monster/monsterProject/rDtaBoardModule',
  oDtaBoardModule='/monster/monsterProject/oDtaBoardModule',
  cDtaBoardModule='/monster/monsterProject/cDtaBoardModule',
  YDataBoardModule='/monster/monsterProject/YDataBoardModule'
}
/**
 * 日志统计信息
 * @param params
 */
export const getLoginfo = (params) => defHttp.get({ url: Api.loginfo, params }, { isTransformResponse: false });
/**
 * 访问量信息
 * @param params
 */
export const getVisitInfo = (params) => defHttp.get({ url: Api.visitInfo, params }, { isTransformResponse: false });

/**
 * r类信息
 * @param params
 */
export const rDtaBoardModule = () => defHttp.get({ url: Api.rDtaBoardModule }, { isTransformResponse: false });

/**
 * o类信息
 * @param params
 */
export const oDtaBoardModule = () => defHttp.get({ url: Api.oDtaBoardModule }, { isTransformResponse: false });

/**
 * 类信息
 * @param params
 */
export const cDtaBoardModule = () => defHttp.get({ url: Api.cDtaBoardModule }, { isTransformResponse: false });

/**
 * 类信息
 * @param params
 */
export const YDataBoardModule = (params) => defHttp.get({ url: Api.YDataBoardModule, params }, { isTransformResponse: false });